package com.kingdee.eas.mx.docs.df;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DeclarationFactory
{
    private DeclarationFactory()
    {
    }
    public static com.kingdee.eas.mx.docs.df.IDeclaration getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.docs.df.IDeclaration)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("B791E1F6") ,com.kingdee.eas.mx.docs.df.IDeclaration.class);
    }
    
    public static com.kingdee.eas.mx.docs.df.IDeclaration getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.docs.df.IDeclaration)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("B791E1F6") ,com.kingdee.eas.mx.docs.df.IDeclaration.class, objectCtx);
    }
    public static com.kingdee.eas.mx.docs.df.IDeclaration getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.docs.df.IDeclaration)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("B791E1F6"));
    }
    public static com.kingdee.eas.mx.docs.df.IDeclaration getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.docs.df.IDeclaration)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("B791E1F6"));
    }
}